//
//  ZDTitleContentAlertView.m
//  ZDPension
//
//  Created by 刘甲奇 on 2017/6/22.
//  Copyright © 2017年 maker. All rights reserved.
//

#import "ZDTitleContentAlertView.h"

@interface ZDTitleContentAlertView()
    
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;

/**
 <#Description#>
 */
@property(nonatomic, strong) alertButonClickBlock block;

@end

@implementation ZDTitleContentAlertView

- (void)showAlertTitle:(NSString *)title content:(NSString *)content clickBlock:(alertButonClickBlock) block
{
    _titleLabel.text = title;
    _contentLabel.text = content;
    _block = block;
    
}
- (IBAction)sureClick:(UIButton *)sender
{
    _block(AlertSure);
}
- (IBAction)cancelClick:(UIButton *)sender
{
    _block(AlertCancel);
}


@end
